package com.wk.springboot.spring.bean;

import lombok.Data;

import javax.annotation.PostConstruct;

/**
 * @User admin
 * @Date 2020/11/20 17:16
 **/
@Data
public class Tree {

    /**
     * leaf
     **/
    private String leaf;

    @PostConstruct
    private void setLeaf() {
        this.leaf = "leaf";

    }
}
